package model;

import java.util.Random;

import com.jhlabs.image.LightFilter.Light;

import view.MainF;

public class Measurement {
MainF mainF;
static double[] measurements = new double[2];	
int temp;
int light;
Random r;
public Measurement(int light){
		r = new Random();
		this.light = light;
		this.temp =light*2/3 + r.nextInt(10)-5;
		
		
	}


public int getTemp() {
	return temp;
}

public void setTemp(int temp) {
	this.temp = temp;
}

public int getLight() {
	return light;
}

public void setLight(int light) {
	this.light = light;
}
}
